<template>
    <el-container class="myContainer">
    <el-header><v-header/></el-header>
    <el-container>
        <el-aside width="200px"><v-nav-menu/></el-aside>
        <el-main><v-main/></el-main>
    </el-container>
    </el-container>


</template>
<style scoped>
    .myContainer{
      position: absolute;
      height: 100%;
      width: 100%;
    }
    .el-header, .el-footer {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
  }

  .el-aside {
    background-color: #324157;
    color: #333;
    text-align: center;
    /*height: calc(100vh - 60px);*/
  }

  .el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
    line-height: 160px;
  }

  body > .el-container {
    margin-bottom: 40px;
  }

  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }

  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }

</style>
<script>
  import vHeader from './Header.vue';
  import vNavMenu from './NavMenu.vue';
  import vMain from './Main.vue';
  export default {
    data(){
      return{

      }
    },
    components:{
      vHeader,vNavMenu,vMain
    }
  }
</script>
